pattern 000006 177777
